adding and commiting from server