The architect , Sinan , strengthened the buttresses and added the other three minarets during the 16th century ; the structure was last renovated in the 1840s .
Sinan fortified the structure , but he didn 't add any minarets or other flourishes .