updated upload_post in api and added 2 methods to rgprod model to check app id and update stipulation