Added replace method; insert method now using some syntax as update (SET)