update get post requests, fix bugs