fixed Multiple Errors and added update command