Update apply resources to allow deletion

Now it can delete based on project id