Adding schema for api post update