added fuctions to alter date json objects