updating api
updated api. finished everything up to util except rest