Added Update Function, Added Some Error Messages.
Update Changed To Replace
Merge pull request #1 from JonathanBristow/master

sync update