def update
        if check_current_isAdmin?
            post = Post.find(params[:id])
            post.update_attributes(change_params)
            render json: { status: 'SUCCESS', message: 'Post updated', data: post }, status: :ok