updated server to correctly parse update / put commands